package com.dlx.order.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.dlx.model.activity.RechargeActivity;
import com.dlx.model.order.RechargeOrderInfo;
import com.dlx.vo.order.RechargeVo;
import com.dlx.vo.order.RechargeOrderInfoQueryVo;
import com.dlx.vo.order.RechargeOrderReportQueryVo;

import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author nglon
 * @since 2021-11-16
 */
public interface RechargeOrderInfoService extends IService<RechargeOrderInfo> {

    Boolean recharge(RechargeVo rechargeVo);

    Page<RechargeOrderInfo> selectRechargeOrderInfoPage(Long current, Long limit, RechargeOrderInfoQueryVo rechargeOrderInfoQueryVo);

    RechargeOrderInfo show(Long id);

    Map<String, Object> getMonthlyReport(RechargeOrderReportQueryVo vo);

    Map<String, Object> getQuarterlyReport(RechargeOrderReportQueryVo vo);

    Map<String, Object> getAnnualReport();

    RechargeActivity getRechargeActivityInfo();
}
